import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router.js'
import 'element-plus/dist/index.css'
import './assets/global.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { ElMessage } from 'element-plus'
import ElementPlus from 'element-plus'
// arco
import ArcoVue from '@arco-design/web-vue';
import ArcoVueIcon from '@arco-design/web-vue/es/icon';
import '@arco-design/web-vue/dist/arco.css';
// echarts
import 'echarts'
import ECharts from 'vue-echarts'

const app = createApp(App)
app.use(router)
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(ArcoVue, {});
app.use(ArcoVueIcon);
app.component('v-chart', ECharts)
app.component('ElMessage', ElMessage)
app.mount('#app')